void calcLookupTable(double (*func)(double, double, void*), void *data, 
					 double *lookup_table, int size, int d);
void calcRawLookupTable(double (*func)(double, double, void*), void *data, 
					 double *lookup_table, int size, int d);
